Documentation for class menu_cell

Inherits from 	cell 

Properties declared in menu_cell 
	key_equivalent 
	submenu 
	title 

Class Methods declared in menu_cell 
	new 

Methods declared in menu_cell 
	any 
		key_equivalent 
		set_key_equivalent(character) 
		set_submenu(menu) 
		set_title(title) 
		submenu 
		title 
	get 
		key_equivalent 
		submenu 
		title 
	set 
		set_key_equivalent(character) 
		set_submenu(menu) 
		set_title(title) 

Class 
#begin_class
menu_cell 
The class menu_cell is a subclass of the class cell.
Menu cells are used in menus and pull-down lists. Menus and pulldown lists consist of a number of menu cells.
Each menu cell has a title. It may also have a key equivalent or a sub-menu.
#end_class

Properties 

#begin_property
key_equivalent 
Stores a character that can be used as the key equivalent of the menu cell. The default value is nil.
#end_property

#begin_property
submenu 
If the menu cell has a sub-menu this property stores a reference to it. 
#end_property

#begin_property
title 
Stores string that is used by the button cell as the title.
The default value is "Item".
#end_property

Methods 

#begin_method
key_equivalent 
Returns the key_equivalent property of the menu cell.
#end_method

#begin_method
set_key_equivalent(character) 
Sets the key_equivalent property to character.
Returns self.
#end_method

#begin_method
set_submenu(menu) 
Sets the submenu property to menu.
Returns self.
#end_method

#begin_method
set_title(title) 
Sets the title property to title.
Returns self.
#end_method

#begin_method
submenu 
Returns the submenu property of the menu cell.
#end_method

#begin_method
title 
Returns the title property of the menu cell.
#end_method

Class Methods 

#begin_class_method
new 
Returns a new menu cell object.
Ex:
{menu_cell}:new
#end_class_method